﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Abp.Application.Services;
using FwProject.EventAdvertising.Dto;
using FwProject.ShopApplication;

namespace FwProject.EventAdvertising
{
    public interface INoticeAppService: IApplicationService
    {
        Task<List<NoticeDto>> GetNoticeListAsync();

        Task<Guid> Create(NoticeInput input);

        Task Update(Guid id, NoticeInput input);

        Task UpdateActive(Guid id, bool isActive);

        Task Delete(Guid id);

        Task<NoticeDto> GetByIdAsync(Guid id);

        Task<LayerDataBaseDto> GetNoticeDataAsync(int page, int limit);
    }
}
